package com.dm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.dm.query.QueryDataInfo;
import com.dm.entity.DataInfoDO;
@Mapper
public interface DataInfoDAO {

	public DataInfoDO selectDataInfoByDataId(Long dataId);

	public List< DataInfoDO > selectDataInfoList(QueryDataInfo queryDataInfo);

	public Integer countDataInfoList(QueryDataInfo queryDataInfo);

	public int insertDataInfo(DataInfoDO dataInfoDO);

	public int updateDataInfoByDataId(DataInfoDO dataInfoDO);
	
	public List<String> selectDistinctList(QueryDataInfo queryDataInfo);

	public List<DataInfoDO> selectDataInfoBycodes(@Param("codes")List<String> codes);

	public List<DataInfoDO> selectDataInfoBystatus(@Param("status")int status);

	public void updateDataInfo();

	public List<DataInfoDO> selectDataInfoHisBycodes(@Param("codes")List<String> codes);

}

